package com.xxxx.yoyo.bean;

public class Goods {
	private Integer id;			// 宠物的id
	private String name;		// 宠物的名称
	private Double price;		// 宠物的价格
	private String intro;		// 宠物的描述
	private String cover;		// 宠物封面的url地址
	private String image1;		// 宠物细节图片1的url地址
	private String image2;		// 宠物细节图片2的url地址
	private Integer stock;		// 宠物的库存
	private Integer typeId;		// 宠物的分类的id
	private Integer status;		// 宠物的状态  	1表示在售，0表示删除
	
	private Type type;
	
	private boolean topToday;	//是否是今日推荐宠物
	private boolean topHot;		//是否是热销推荐宠物
	private boolean topNew;		//是否是新品推荐宠物

	
	public boolean isTopToday() {
		return topToday;
	}

	public void setTopToday(boolean topToday) {
		this.topToday = topToday;
	}

	public boolean isTopHot() {
		return topHot;
	}

	public void setTopHot(boolean topHot) {
		this.topHot = topHot;
	}

	public boolean isTopNew() {
		return topNew;
	}

	public void setTopNew(boolean topNew) {
		this.topNew = topNew;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public String getIntro() {
		return intro;
	}

	public void setIntro(String intro) {
		this.intro = intro;
	}

	public String getCover() {
		return cover;
	}

	public void setCover(String cover) {
		this.cover = cover;
	}

	public String getImage1() {
		return image1;
	}

	public void setImage1(String image1) {
		this.image1 = image1;
	}

	public String getImage2() {
		return image2;
	}

	public void setImage2(String image2) {
		this.image2 = image2;
	}

	public Integer getStock() {
		return stock;
	}

	public void setStock(Integer stock) {
		this.stock = stock;
	}

	public Integer getTypeId() {
		return typeId;
	}

	public void setTypeId(Integer typeId) {
		this.typeId = typeId;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Type getType() {
		return type;
	}

	public void setType(Type type) {
		this.type = type;
	}

	public Goods() {
		super();
	}

	public Goods(String name, Double price, String intro, String cover, String image1, String image2, Integer stock,
			Integer typeId, Integer status) {
		super();
		this.name = name;
		this.price = price;
		this.intro = intro;
		this.cover = cover;
		this.image1 = image1;
		this.image2 = image2;
		this.stock = stock;
		this.typeId = typeId;
		this.status = status;
	}

	@Override
	public String toString() {
		return "Goods [id=" + id + ", name=" + name + ", price=" + price + ", intro=" + intro + ", cover=" + cover
				+ ", image1=" + image1 + ", image2=" + image2 + ", stock=" + stock + ", typeId=" + typeId + ", status="
				+ status + ", type=" + type + "]";
	}
	
	
}
